/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testsortedmap;

/**
 *
 * @author hitdong
 */
public class Person {

    private String name;
    private int wealth;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getWealth() {
        return wealth;
    }

    public void setWealth(int wealth) {
        this.wealth = wealth;
    }

    public Person(String name, int wealth) {
        this.name = name;
        this.wealth = wealth;
    }
    
}
